﻿using Basic.FormRemoteModel;

namespace Basic.UserFormService.Model.Column
{
    public class BaseColumn
    {
        public long Id { get; set; }

        /// <summary>
        /// 表ID
        /// </summary>
        public long TableId { get; set; }

        /// <summary>
        /// 组ID
        /// </summary>
        public long GroupId { get; set; }

        /// <summary>
        /// 列名
        /// </summary>
        public string ColName { get; set; }

        /// <summary>
        /// 标题
        /// </summary>
        public string ColTitle { get; set; }

        /// <summary>
        /// 控件类型
        /// </summary>
        public ControlType ColType { get; set; }

        /// <summary>
        /// 数据存储类型
        /// </summary>
        public FormRecordDataType? DataType { get; set; }

        /// <summary>
        /// 列表列宽
        /// </summary>
        public int? Width { get; set; }

        /// <summary>
        /// 排序位
        /// </summary>
        public int Sort { get; set; }

        /// <summary>
        /// 是否是合并行
        /// </summary>
        public bool IsMergeRow { get; set; }

    }
}
